-- GENERATED SPELL FOR [Fanggore Worg] --


function spell0_24026(pUnit, Event) --@Maim Flesh,n/a--
pUnit:FullCastSpellOnTarget(50075,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24026', 10264, 1)
end

function Sorts_24026(pUnit, Event)
local choix_sorts_24026 = math.random(0, 0)
if choix_sorts_24026 == 0 then
pUnit:RegisterEvent('spell0_24026', 1, 1)
end
end

function mob24026_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24026', math.random(1500, 3000), 1)
end

function mob24026_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24026_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24026_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24026, 1, 'mob24026_Action')
RegisterUnitEvent(24026, 2, 'mob24026_Leave')
RegisterUnitEvent(24026, 3, 'mob24026_Kill')
RegisterUnitEvent(24026, 4, 'mob24026_Die')
